/**
 * Created by anzhen on 2017-6-8.
 */
class Range {
    static void main(String[] args) {
        strRange()
    }
    static void strRange() {
        def range = 'a'..'z'
        for (str in range) {
            println str
        }
    }
    private static void numRange() {
        def range = 1..5
        println range
        println range.get(0)
        for (i in range) {
            println i
        }
    }
}
